package com.goodsogood.union.auth.web.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 心跳检测模块
 */
@Controller
public class HeartbeatController {
    
    /**
     * 心跳ping
     */
    @ResponseBody
    @RequestMapping("/ping")
    public String index(HttpServletRequest request) {
        return "success";
    }
}